//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['William & Mary Tribe vs. Towson Tigers','Plumeri Park','Williamsburg, VA','Friday','5/10/2024','6:00 PM','6288480','William---Mary-Tribe-vs--Towson-Tigers-5-10-2024'],['William & Mary Tribe vs. Towson Tigers','Plumeri Park','Williamsburg, VA','Saturday','5/11/2024','3:00 PM','6288481','William---Mary-Tribe-vs--Towson-Tigers-5-11-2024'],['William & Mary Tribe vs. Towson Tigers','Plumeri Park','Williamsburg, VA','Sunday','5/12/2024','1:00 PM','6288482','William---Mary-Tribe-vs--Towson-Tigers-5-12-2024'],['Campbell Fighting Camels vs. William & Mary Tribe','Jim Perry Stadium','Lillington, NC','Thursday','5/16/2024','6:00 PM','6238666','Campbell-Fighting-Camels-vs--William---Mary-Tribe-5-16-2024'],['Campbell Fighting Camels vs. William & Mary Tribe','Jim Perry Stadium','Lillington, NC','Friday','5/17/2024','6:00 PM','6238667','Campbell-Fighting-Camels-vs--William---Mary-Tribe-5-17-2024'],['Campbell Fighting Camels vs. William & Mary Tribe','Jim Perry Stadium','Lillington, NC','Saturday','5/18/2024','2:00 PM','6238668','Campbell-Fighting-Camels-vs--William---Mary-Tribe-5-18-2024'],['William & Mary Tribe vs. Virginia Military Keydets','Zable Stadium','Williamsburg, VA','Saturday','8/31/2024','TBD','6208623','William---Mary-Tribe-vs--Virginia-Military-Keydets-8-31-2024'],['Coastal Carolina Chanticleers vs. William & Mary Tribe','Brooks Stadium - Conway','Conway, SC','Saturday','9/7/2024','TBD','6118944','Coastal-Carolina-Chanticleers-vs--William---Mary-Tribe-9-7-2024'],['Wofford Terriers vs. William & Mary Tribe','Gibbs Stadium','Spartanburg, SC','Saturday','9/14/2024','TBD','6218669','Wofford-Terriers-vs--William---Mary-Tribe-9-14-2024'],['William & Mary Tribe vs. Furman Paladins','Zable Stadium','Williamsburg, VA','Saturday','9/21/2024','TBD','6208630','William---Mary-Tribe-vs--Furman-Paladins-9-21-2024'],['William & Mary Tribe vs. Hampton Pirates','Zable Stadium','Williamsburg, VA','Saturday','9/28/2024','TBD','6208631','William---Mary-Tribe-vs--Hampton-Pirates-9-28-2024'],['Towson Tigers vs. William & Mary Tribe','Unitas Stadium','Towson, MD','Saturday','10/5/2024','TBD','6208569','Towson-Tigers-vs--William---Mary-Tribe-10-5-2024'],['Stony Brook Seawolves vs. William & Mary Tribe','Kenneth P. Lavalle Stadium','Stony Brook, NY','Saturday','10/26/2024','TBD','6208561','Stony-Brook-Seawolves-vs--William---Mary-Tribe-10-26-2024'],['North Carolina A&T Aggies vs. William & Mary Tribe','Truist Stadium - Greensboro','Greensboro, NC','Saturday','11/2/2024','TBD','6208525','North-Carolina-A-T-Aggies-vs--William---Mary-Tribe-11-2-2024'],['William & Mary Tribe vs. Elon Phoenix','Zable Stadium','Williamsburg, VA','Saturday','11/9/2024','TBD','6208634','William---Mary-Tribe-vs--Elon-Phoenix-11-9-2024'],['William & Mary Tribe vs. Bryant Bulldogs','Zable Stadium','Williamsburg, VA','Saturday','11/16/2024','TBD','6208635','William---Mary-Tribe-vs--Bryant-Bulldogs-11-16-2024']],'William and Mary Tribe','http://www.ticketnetwork.com/ticket/William-and-Mary-Tribe-events.aspx');